package com.zjsy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zjsy.dao.DefaultDao;
import com.zjsy.dao.FriendLinkDao;
import com.zjsy.po.Defaults;
import com.zjsy.service.DefaultService;
@Service
@Transactional
public class DefaultServiceImpl implements DefaultService {
	
	@Autowired
	private DefaultDao defaultdao;


	@Override
	public List<Defaults> findDefault() {
		
		return defaultdao.findDefault();
	}

	@Override
	public Defaults findDefaultById(String id) {
		
		return defaultdao.findDefaultById(id);

	}

	@Override
	public void updateDefault(Defaults defaults) {
		
		 defaultdao.updateDefault(defaults);

	}

}
